package com.pan.dao.coupon;

import org.apache.ibatis.annotations.Mapper;

import java.sql.Timestamp;

@Mapper
public interface CouponUpdateDao{
    Integer updateImg(Long id, String img);
    Integer updateName(Long id, String name);
    Integer updateCreateAdmin(Long id, Long createAdmin);
    Integer updateUserLimit(Long id, Integer userLimit);
    Integer updateGrowthLimit(Long id, Long growthLimit);
    Integer updateScorePrice(Long id, Integer scorePrice);
    Integer updateAmount(Long id, Double amount);
    Integer updatePublishCount(Long id, Integer publishCount);
    Integer updateReceiveCount(Long id, Integer receiveCount);
    Integer updateUseCount(Long id, Integer useCount);
    Integer updateCreateDate(Long id, Timestamp createDate);
    Integer updateStartDate(Long id, Timestamp startDate);
    Integer updateEndDate(Long id, Timestamp endDate);
    Integer updateNote(Long id, String note);
}